Flapplescript
--------------
Due to the fact that runCommandline does not work with flash8 on a MAC the following is a simple
work around to get a commandline command to work.

FlappleScript is a C level extension for the Macintosh version of the Flash IDE. You can use it 
to run AppleScripts from within the IDE.

FlappleScript shared library should be installed 
~/Library/Application Support/Macromedia/Flash 8/en/Configuration/External Libraries

I have created an example to illustrate this work around.

The fla is set up like any other panel.
1.A button that will trigger the communication with a JSFL file.
2.JSFL will handle whatever its given from the panel.
3.Reading from a text file "template" which has a applescript shell, will split and join to make subtitutions 
accordingly.

to create script that Flapplescript will execute.
ex: var result = FlappleScript.exec(applescriptFromTemplate);
	return result;